package com.systemmanger.mapper;

import com.bean.WmsTGroup;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ZuGuanLiMapper {
    @Select("<script>" +
            "select * from wms_t_group " +
            "where groupIsDel = 0" +
            " <if test=\"groupID !=null and groupID != ''\" >" +
            "and groupID =#{groupID}" +
            "</if>" +
            "<if test=\" groupName !=null and groupName !=''\" >" +
            "and groupName =#{groupName}" +
            "</if>" +
            "</script>")
    public List<WmsTGroup> page(WmsTGroup wmsTGroup);
}
